<template>
  <div class="example-full">
    <iframe :src="uploadUrl" width="100%" height="100%" seamless>
      <p>
        您的浏览器不支持 iframe 标签。请直接访问该
        <a :href="uploadUrl"> 链接 </a>
        上传文件
      </p>
    </iframe>
  </div>
</template>


<script>
import { uploadUrl } from "../config/config";
export default {
  data() {
    return {
      uploadUrl: uploadUrl,
    };
  },
};
</script>

<style scoped>
.box {
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 4px;
}
.el-form-item {
  margin: 20px 20px 0 0;
}
.example-full {
  width: 100%;
  height: 100%;
}
</style>